<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>思云课堂-个人课程列表</title>
    <script src="/lay-excel/jquery-3.2.1.min.js"></script>

    <link rel="stylesheet" href="/zTree/zTree_v3-master/css/metroStyle/metroStyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/zTree/zTree_v3-master/js/jquery.ztree.all.min.js" ></script>

    <link rel="stylesheet" href="/lay-excel/layui/src/css/layui.css">
    <script src="/lay-excel/layui/src/layui.js"></script>

    <link rel="stylesheet" href="/teacher/css/TeaCourselist.css">

    <link rel="shortcut icon" href="/img/pro-logo.png">
</head>
<body>
<!-- 头部 -->
<div class="div_tit">
    <div class="div_ic"></div>
    <p class="tit_span">个人课程列表<p>
    <button type="button" class="layui-btn tit_btn layui-btn-sm layui-btn-danger" id="returnbtn">
        <i class="layui-icon layui-icon-return"></i> 返回
    </button>
    <button type="button" class="layui-btn tit_btn layui-btn-sm" id="breakbtn">
        <i class="layui-icon layui-icon-refresh"></i> 刷新
    </button>
</div>
<div class="layui-row">
    <!-- 当前用户的ID -->
    <input id="UserId" type="hidden" name="UserId">
    <div class="layui-col-xs2 layui-col-sm2 layui-col-md2">
        <div id="treeDemo" class="ztree"></div>
        <!-- 选中的分类ID -->
        <input id="classId" type="hidden" name="classId">
    </div>
    <div id="divId2" class="layui-col-xs10 layui-col-sm10 layui-col-md10">
        <div class="layui-row" id="butdiv_id">
            <button type="button" class="layui-btn" id="allbut">全部课程（<span id="allSum" class="butdiv_sp yesbut"></span>）</button>
            <button type="button" class="layui-btn layui-btn-primary" id="status2but">已上架（<span id="status2Sum" class="butdiv_sp"></span>）</button>
            <button type="button" class="layui-btn layui-btn-primary" id="status3but">未上架（<span id="status3Sum" class="butdiv_sp"></span>）</button>
            <button type="button" class="layui-btn layui-btn-primary" id="cstatus3but">待审核（<span id="cstatus3Sum" class="butdiv_sp"></span>）</button>
            <button type="button" class="layui-btn layui-btn-primary" id="cstatus5but">未通过（<span id="cstatus5Sum" class="butdiv_sp"></span>）</button>
        </div>
        <div class="layui-row rightDivId">
            <div id="div_id1">
                <p>
                    <span><i class="layui-icon">&#xe615;</i>筛选查询</span>
                    <span id="sp2">
                        <button type="button" class="layui-btn layui-btn-xs" id="queryButId">
                            <i class="layui-icon layui-icon-search"></i>查询
                        </button>
                        <button type="button" class="layui-btn layui-btn-xs layui-btn-danger" id="resetButId">
                            <i class="layui-icon layui-icon-refresh"></i>重置
                        </button>
                    </span>
                </p>
            </div>
            <div id="div_id2">
                <div class="inp_div">
                    <p>输入搜索：</p>
                    <input id="searchName" name="searchName" placeholder="请输入课程名称" type="text" class="layui-input">
                </div>
                <div class="inp_div">
                    <p>课程分类：</p>
                    <form class="layui-form" id="formId">
                        <select name='searchClass' id='searchClass'>
                            <option value=''>请选择课程分类</option>
                        </select>
                    </form>
                </div>
                <div class="inp_div">
                    <p>课程价格：</p>
                    <input id="searchPrice" name="searchPrice" placeholder="请输入课程价格" type="text" class="layui-input">
                </div>
                <button type="button" class="layui-btn layui-btn-xs" id="retrievalButId">
                    <i class="layui-icon layui-icon-search"></i>高级检索
                </button>
                <!-- 高级检索的备注 -->
                <input id="beizhu" type="hidden" name="beizhu">
                <!-- 高级检索的状态 -->
                <input id="status" type="hidden" name="status">
                <!-- 高级检索的审核状态 -->
                <input id="cstatus" type="hidden" name="cstatus">
                <!-- 高级检索的销量 -->
                <input id="num" type="hidden" name="num">
            </div>
        </div>
        <div class="rightDivId">
            <form class="layui-form">
                <script type="text/html" id="toolbarDemo">
                    <div class="layui-btn-container">
                        <p><a href="#" id="addBtn" onclick="javascript:addCourse()">添加课程</a></p>
                        <!-- 选中的课程ID -->
                        <input id="courseId" type="hidden" name="courseId">
                    </div>
                </script>
                <table class="layui-hide" id="courseTab" lay-filter="tab"></table>
            </form>
        </div>
    </div>
</div>
<script src="/teacher/js/TeaCourselist.js"></script>
</body>
</html>